package com.jxbai.design.pattern.dcxy.builder;

/**
 * 抽象建造者
 * @author jxbai
 * @date 2021/12/13
 */
public abstract class AbstractPhoneBuilder {

    Phone phone;

    abstract AbstractPhoneBuilder cpu(String cpu);

    abstract AbstractPhoneBuilder mem(String mem);

    abstract AbstractPhoneBuilder disk(String disk);

    abstract AbstractPhoneBuilder camera(String camera);

    Phone getProduct() {
        return this.phone;
    }
}
